added SSCLI 1.0
[windows-sources.git] / shared source / wpf / src / host / inc / registry.hxx
blobd540fd49d29fd68483384f68a1668b79dff8772b
1 //+-----------------------------------------------------------------------
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // Description:
6 // Shared definitions needed by unmanaged hosting code
7 //
8 // History:
9 // 2002/06/19-murrayw
10 // Created
11 // 2005/02/22-[....]
12 // Moved, shared, simplified.
13 // 2007/09/20-[....]
14 // Ported Windows->DevDiv. See SourcesHistory.txt.
16 //------------------------------------------------------------------------
18 #pragma once
20 //******************************************************************************
22 // Defines
24 //******************************************************************************
26 #define CONTENT_TYPE_XPSDOCUMENT L"application/vnd.ms-xpsdocument"
27 #define CONTENT_TYPE_APPLICATION L"application/x-ms-xbap"
28 #define CONTENT_TYPE_MARKUP L"application/xaml+xml"
29 #define CONTENT_TYPE_ZIP L"application/x-zip-compressed"
31 #define FILE_EXT_XPSDOCUMENT L".xps"
32 #define FILE_EXT_APPLICATION L".xbap"
33 #define FILE_EXT_MARKUP L".xaml"
35 //******************************************************************************
37 // Registry Key definitions
39 // Keep in [....] with:
40 // setup\MSI\installerFiles\installDatabase\Registry.txt
41 // Shared\MS\Internal\Registry.cs
42 //******************************************************************************
44 #define RegKey_DotNetFramework L"SOFTWARE\\Microsoft\\.NETFramework"
45 #define RegKey_WPF RegKey_DotNetFramework L"\\Windows Presentation Foundation"
46 // Before v4, this key was .NETFramework\v3.0\Windows Presentation Foundation\Namespaces.
47 #define RegKey_WPF_Namespaces RegKey_WPF L"\\Namespaces"
50 #define RegKey_WPF_Hosting RegKey_WPF L"\\Hosting"
51 #define RegValue_RunUnrestricted L"RunUnrestricted"
52 #define RegValue_NoHostTimeoutSeconds L"NoHostTimeoutSeconds"
53 #define RegValue_DisableSingleVersionOptimization L"DisableSingleVersionOptimization"
54 // #define RegValue_DisableXbapErrorPage -- defined and used in managed code
55 #define RegValue_AutoShowXbapErrorDetails L"AutoShowXbapErrorDetails"
57 #define RegKey_WPF_HostVersions RegKey_WPF_Hosting L"\\Hosts"
59 #define RegKey_WPF_Features RegKey_WPF L"\\Features"
60 #define RegValue_XBAPDisallow L"XBAPDisallow"
61 #define RegValue_XPSDocumentsDisallow L"XPSDocumentsDisallow"
62 #define RegValue_LooseXamlDisallow L"LooseXamlDisallow"
63 // In Registry.cs: MediaImageDisallow, MediaVideoDisallow, MediaAudioDisallow, WebBrowserDisallow, ScriptInteropDisallow